﻿// 根据金蝶云星空元数据查询接口获取元数据K3CloudQueryBusinessInfoRequest
// 根据DotLiquid模板生成C#类型，模板存放于Admin.NET.Web.Entwwwroot/Template/K3CloudEntiry.cs.vm
// 当前元数据：[2052, 供应商](BD_Supplier)

using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Jim.K3Cloud;


/// <summary>
/// Name:单据头 Key:FBillHead EntryName:SupplieTableName:t_BD_SupplieEntityType:HeadEntity
/// </summary>
public class BD_Supplier:K3CloudBaseData<long>
{

    /// <summary>
    /// 名称:数据状态 Key:FDocumentStatus 数据库字段名:FDOCUMENTSTATUS 数据库表名:t_BD_Supplie枚举信息:Z:暂存;A:创建;B:审核中;C:已审核;D:重新审核;
    /// </summary>
    public string DocumentStatus {get;set;}
    /// <summary>
    /// 名称:禁用状态 Key:FForbidStatus 数据库字段名:FFORBIDSTATUS 数据库表名:t_BD_Supplie枚举信息:A:否;B:是;
    /// </summary>
    public string ForbidStatus {get;set;}
    /// <summary>
    /// 名称:编码 Key:FNumbe数据库字段名:FNUMBE数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public string Numbe{get;set;}
    /// <summary>
    /// 名称:描述 Key:FDescription 数据库字段名:FDESCRIPTION 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>  
    [JsonConverter(typeof(LocaleValueConverter))]
    public string Description {get;set;}
    /// <summary>
    /// 名称:创建组织 Key:FCreateOrgId 数据库字段名:FCREATEORGID 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public K3CloudSimpleORG_Organizations CreateOrgId {get;set;}
    public int CreateOrgId_Id {get;set;}
    /// <summary>
    /// 名称:使用组织 Key:FUseOrgId 数据库字段名:FUSEORGID 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public K3CloudSimpleORG_Organizations UseOrgId {get;set;}
    public int UseOrgId_Id {get;set;}
    /// <summary>
    /// 名称:创建人 Key:FCreatorId 数据库字段名:FCREATORID 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public K3CloudSimpleSEC_User CreatorId {get;set;}
    public int CreatorId_Id {get;set;}
    /// <summary>
    /// 名称:修改人 Key:FModifierId 数据库字段名:FMODIFIERID 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public K3CloudSimpleSEC_User ModifierId {get;set;}
    public int ModifierId_Id {get;set;}
    /// <summary>
    /// 名称:创建日期 Key:FCreateDat数据库字段名:FCREATEDAT数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public DateTime CreateDate{get;set;}
    /// <summary>
    /// 名称:修改日期 Key:FModifyDat数据库字段名:FMODIFYDAT数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public DateTime FModifyDate{get;set;}
    /// <summary>
    /// 名称:简称 Key:FShortNam数据库字段名:FSHORTNAM数据库表名:t_BD_Supplie枚举信息:
    /// </summary>    
    [JsonConverter(typeof(LocaleValueConverter))]
    public string ShortNam{get;set;}
    /// <summary>
    /// 名称:禁用人 Key:FForbiderId 数据库字段名:FFORBIDERID 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public K3CloudSimpleSEC_User ForbiderId {get;set;}
    public int ForbiderId_Id {get;set;}
    /// <summary>
    /// 名称:禁用日期 Key:FForbidDat数据库字段名:FFORBIDDAT数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public DateTime ForbidDate{get;set;}
    /// <summary>
    /// 名称:审核日期 Key:FAuditDat数据库字段名:FAUDITDAT数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public DateTime FAuditDate{get;set;}
    /// <summary>
    /// 名称:审核人 Key:FAuditorId 数据库字段名:FAUDITORID 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public K3CloudSimpleSEC_User AuditorId {get;set;}
    public int AuditorId_Id {get;set;}
    /// <summary>
    /// 名称:供应商分组 Key:FGroup 数据库字段名:FPRIMARYGROUP 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_FORMGROUP FGroup {get;set;}
    public int FGroup_Id {get;set;}
    /// <summary>
    /// 名称:对应组织 Key:FCorrespondOrgId 数据库字段名:FCORRESPONDORGID 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public K3CloudSimpleORG_Organizations CorrespondOrgId {get;set;}
    public int CorrespondOrgId_Id {get;set;}
    /// <summary>
    /// 名称:同步货主状态(GY) Key:FSYNCGYOWNERSTATUS 数据库字段名:FSYNCGYOWNERSTATUS 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public bool SYNCGYOWNERSTATUS {get;set;}
    /// <summary>
    /// 名称:注册编码 Key:FRegNumbe数据库字段名:FREGNUMBE数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public string RegNumbe{get;set;}
    /// <summary>
    /// 名称:对应集团供应商 Key:FGROUPSUPPLYID 数据库字段名:FGROUPSUPPLYID 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Supplier FGROUPSUPPLYID {get;set;}
    public int FGROUPSUPPLYID_Id {get;set;}
    /// <summary>
    /// 名称:集团供应商 Key:FISGROUP 数据库字段名:FISGROUP 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public bool ISGROUP {get;set;}
    /// <summary>
    /// 名称:联系人名称 Key:FContactNam数据库字段名:FCONTACTNAM数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public string FContactNam{get;set;}
    /// <summary>
    /// 名称:联系人手机 Key:FcontactPhon数据库字段名:FCONTACTPHON数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public string FcontactPhon{get;set;}
    /// <summary>
    /// 名称:联系人电话 Key:FContactTel 数据库字段名:FCONTACTTEL 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public string FContactTel {get;set;}
    /// <summary>
    /// 名称:联系人传真 Key:FcontactTax 数据库字段名:FCONTACTTAX 数据库表名:t_BD_Supplie枚举信息:
    /// </summary>
    public string FcontactTax {get;set;}
    /// <summary>
    /// 基本信息
    /// </summary>
    public List<BD_SupplierSupplierBase> SupplierBas{get;set;}
    /// <summary>
    /// 商务信息
    /// </summary>
    public List<BD_SupplierSupplierBusiness> SupplierBusiness {get;set;}
    /// <summary>
    /// 财务信息
    /// </summary>
    public List<BD_SupplierSupplierFinance> SupplierFinanc{get;set;}
    /// <summary>
    /// 银行信息
    /// </summary>
    public List<BD_SupplierSupplierBank> SupplierBank {get;set;}
    /// <summary>
    /// 组织信息
    /// </summary>
    public List<BD_SupplierSupplierLocation> SupplierLocation {get;set;}
    /// <summary>
    /// 联系人
    /// </summary>
    public List<BD_SupplierSupplierContact> SupplierContact {get;set;}  

}


/// <summary>
/// Name:基本信息 Key:FBaseInfEntryName:SupplierBasTableName:t_BD_SupplierBasEntityType:SubHeadEntity
/// </summary>
public class BD_SupplierSupplierBase:K3CloudIDBase<long>
{

    /// <summary>
    /// 名称:国家 Key:FCountr数据库字段名:FCOUNTR数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT Countr{get;set;}
    public string Country_Id {get;set;}
    /// <summary>
    /// 名称:地区 Key:FProvincial 数据库字段名:FPROVINCIAL 数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT Provincial {get;set;}
    public string Provincial_Id {get;set;}
    /// <summary>
    /// 名称:邮政编码 Key:FZip 数据库字段名:FZIP 数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public string Zip {get;set;}
    /// <summary>
    /// 名称:语言 Key:FLanguag数据库字段名:FLANGUAG数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT Languag{get;set;}
    public string Language_Id {get;set;}
    /// <summary>
    /// 名称:通讯地址 Key:FAddress 数据库字段名:FADDRESS 数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public string Address {get;set;}
    /// <summary>
    /// 名称:公司网址 Key:FWebSit数据库字段名:FWEBSIT数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public string WebSit{get;set;}
    /// <summary>
    /// 名称:注册地址 Key:FRegisterAddress 数据库字段名:FREGISTERADDRESS 数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public string RegisterAddress {get;set;}
    /// <summary>
    /// 名称:行业 Key:FTrad数据库字段名:FTRAD数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT Trad{get;set;}
    public string Trade_Id {get;set;}
    /// <summary>
    /// 名称:公司性质 Key:FCompanyNatur数据库字段名:FCOMPANYNATUR数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT CompanyNatur{get;set;}
    public string CompanyNature_Id {get;set;}
    /// <summary>
    /// 名称:创立日期 Key:FFoundDat数据库字段名:FFOUNDDAT数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public DateTime FoundDate{get;set;}
    /// <summary>
    /// 名称:法人代表 Key:FLegalPerson 数据库字段名:FLEGALPERSON 数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public string LegalPerson {get;set;}
    /// <summary>
    /// 名称:注册资金(万元) Key:FRegisterFund 数据库字段名:FREGISTERFUND 数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public decimal RegisterFund {get;set;}
    /// <summary>
    /// 名称:工商登记号 Key:FRegisterCod数据库字段名:FREGISTERCOD数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public string RegisterCod{get;set;}
    /// <summary>
    /// 名称:生产经营许可证 Key:FTendPermit 数据库字段名:FTENDPERMIT 数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public string TendPermit {get;set;}
    /// <summary>
    /// 名称:负责部门 Key:FDeptId 数据库字段名:FDEPTID 数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Department DeptId {get;set;}
    public int DeptId_Id {get;set;}
    /// <summary>
    /// 名称:负责人 Key:FStaffId 数据库字段名:FSTAFFID 数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBD_BUYER FStaffId {get;set;}
    public int FStaffId_Id {get;set;}
    /// <summary>
    /// 名称:供应商分类 Key:FSupplierClassif数据库字段名:FSUPPLIERCLASSIF数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT SupplierClassif{get;set;}
    public string SupplierClassify_Id {get;set;}
    /// <summary>
    /// 名称:公司类别 Key:FCompanyClassif数据库字段名:FCOMPANYCLASSIF数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT CompanyClassif{get;set;}
    public string CompanyClassify_Id {get;set;}
    /// <summary>
    /// 名称:供应商等级 Key:FSupplierGrad数据库字段名:FSUPPLIERGRAD数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT SupplierGrad{get;set;}
    public string SupplierGrade_Id {get;set;}
    /// <summary>
    /// 名称:生效日期 Key:FStartDat数据库字段名:FSTARTDAT数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public DateTime StartDate{get;set;}
    /// <summary>
    /// 名称:失效日期 Key:FEndDat数据库字段名:FENDDAT数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public DateTime EndDate{get;set;}
    /// <summary>
    /// 名称:公司规模 Key:FCompanyScal数据库字段名:FCOMPANYSCAL数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT CompanyScal{get;set;}
    public string CompanyScale_Id {get;set;}
    /// <summary>
    /// 名称:供应类别 Key:FSupplyClassif数据库字段名:FSUPPLYCLASSIF数据库表名:t_BD_SupplierBas枚举信息:WW:委外;CG:采购;FW:服务;ZH:综合;
    /// </summary>
    public string SupplyClassif{get;set;}
    /// <summary>
    /// 名称:统一社会信用代码 Key:FSOCIALCRECOD数据库字段名:FSOCIALCRECOD数据库表名:t_BD_SupplierBas枚举信息:
    /// </summary>
    public string SOCIALCRECOD{get;set;}  

}


/// <summary>
/// Name:商务信息 Key:FBusinessInfEntryName:SupplierBusiness TableName:t_BD_SupplierBusiness EntityType:SubHeadEntity
/// </summary>
public class BD_SupplierSupplierBusiness:K3CloudIDBase<long>
{

    /// <summary>
    /// 名称:采购组 Key:FPurchaserGroupId 数据库字段名:FPURCHASEGROUPID 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_OperatorGroup PurchaseGroupId {get;set;}
    public int PurchaseGroupId_Id {get;set;}
    /// <summary>
    /// 名称:最小订单量 Key:FMinPOValu数据库字段名:FMINPOVALU数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public decimal MinPOValu{get;set;}
    /// <summary>
    /// 名称:需要确认 Key:FNeedConfir数据库字段名:FNEEDCONFIR数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public bool NeedConfir{get;set;}
    /// <summary>
    /// 名称:汇总公司 Key:FParentSupplierId 数据库字段名:FPARENTSUPPLIERID 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Supplier ParentSupplierId {get;set;}
    public int ParentSupplierId_Id {get;set;}
    /// <summary>
    /// 名称:业务状态 Key:FBusinessStatus 数据库字段名:FBUSINESSSTATUS 数据库表名:t_BD_SupplierBusiness 枚举信息:A:正常;B:冻结;
    /// </summary>
    public string BusinessStatus {get;set;}
    /// <summary>
    /// 名称:冻结范围 Key:FFreezeLimit 数据库字段名:FFREEZELIMIT 数据库表名:t_BD_SupplierBusiness 枚举信息:Return:退货;Apply:申请;Instock:入库;Order:订单;Price:询价;Receive:收货;Pay:付款;Invoice:发票;
    /// </summary>
    public string FreezeLimit {get;set;}
    /// <summary>
    /// 名称:结算方式 Key:FSettleTypeId 数据库字段名:FSETTLETYPEID 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_SETTLETYPE SettleTypeId {get;set;}
    public int SettleTypeId_Id {get;set;}
    /// <summary>
    /// 名称:默认价目表 Key:FPRICELISTID 数据库字段名:FPRICELISTID 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public K3CloudSimplePUR_PriceCategory PriceListID {get;set;}
    public int PriceListID_Id {get;set;}
    /// <summary>
    /// 名称:默认WIP仓位 Key:FWipStockPlaceId 数据库字段名:FWIPSTOCKPLACEID 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public string WipStockPlaceId {get;set;}
    /// <summary>
    /// 名称:默认WIP仓库 Key:FWipStockId 数据库字段名:FWIPSTOCKID 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_STOCK WipStockId {get;set;}
    public int WipStockId_Id {get;set;}
    /// <summary>
    /// 名称:默认折扣表 Key:FDiscountListId 数据库字段名:FDISCOUNTLISTID 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_PurDiscount DiscountListId {get;set;}
    public int DiscountListId_Id {get;set;}
    /// <summary>
    /// 名称:供货方 Key:FProviderId 数据库字段名:FPROVIDERID 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Supplier ProviderId {get;set;}
    public int ProviderId_Id {get;set;}
    /// <summary>
    /// 名称:冻结人 Key:FFreezeOperato数据库字段名:FFREEZEOPERATO数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public K3CloudSimpleSEC_User FreezeOperato{get;set;}
    public int FreezeOperator_Id {get;set;}
    /// <summary>
    /// 名称:冻结日期 Key:FFreezeDat数据库字段名:FFREEZEDAT数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public DateTime FreezeDate{get;set;}
    /// <summary>
    /// 名称:VMI仓库 Key:FVmiStockId 数据库字段名:FVMISTOCKID 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_STOCK VmiStockId {get;set;}
    public int VmiStockId_Id {get;set;}
    /// <summary>
    /// 名称:VMI业务 Key:FVmiBusiness 数据库字段名:FVMIBUSINESS 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public bool VmiBusiness {get;set;}
    /// <summary>
    /// 名称:启用供应商协同 Key:FEnableSL 数据库字段名:FENABLESL 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public bool EnableSL {get;set;}
    /// <summary>
    /// 名称:保证金比例% Key:FDepositRati数据库字段名:FDEPOSITRATI数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public decimal DepositRati{get;set;}
    /// <summary>
    /// 名称:默认联系人 Key:FDefaultContactId 数据库字段名:FDEFAULTCONTACTID 数据库表名:t_BD_SupplierBusiness 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_SupplierContact DefaultContactId {get;set;}
    public int DefaultContactId_Id {get;set;}  

}


/// <summary>
/// Name:财务信息 Key:FFinanceInfEntryName:SupplierFinancTableName:t_BD_SupplierFinancEntityType:SubHeadEntity
/// </summary>
public class BD_SupplierSupplierFinance:K3CloudIDBase<long>
{

    /// <summary>
    /// 名称:结算币别 Key:FPayCurrencyId 数据库字段名:FPAYCURRENCYID 数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Currency PayCurrencyId {get;set;}
    public int PayCurrencyId_Id {get;set;}
    /// <summary>
    /// 名称:对应客户 Key:FCustomerId 数据库字段名:FCUSTOMERID 数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Customer CustomerId {get;set;}
    public int CustomerId_Id {get;set;}
    /// <summary>
    /// 名称:单次预付额度 Key:FPayAdvanceAmount 数据库字段名:FPAYADVANCEAMOUNT 数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public decimal PayAdvanceAmount {get;set;}
    /// <summary>
    /// 名称:税务登记号 Key:FTaxRegisterCod数据库字段名:FTAXREGISTERCOD数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public string TaxRegisterCod{get;set;}
    /// <summary>
    /// 名称:经营类型 Key:FTendTyp数据库字段名:FTENDTYP数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT TendTyp{get;set;}
    public string TendType_Id {get;set;}
    /// <summary>
    /// 名称:税分类 Key:FTaxTyp数据库字段名:FTAXTYP数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT FTaxTyp{get;set;}
    public string FTaxType_Id {get;set;}
    /// <summary>
    /// 名称:描述 Key:FFinanceDesc 数据库字段名:FDESCRIPTION 数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public string Description {get;set;}
    /// <summary>
    /// 名称:付款条件 Key:FPayCondition 数据库字段名:FPAYCONDITION 数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public K3CloudSimpleBD_PaymentCondition PayCondition {get;set;}
    public int PayCondition_Id {get;set;}
    /// <summary>
    /// 名称:发票类型 Key:FInvoiceTyp数据库字段名:FINVOICETYP数据库表名:t_BD_SupplierFinanc枚举信息:1:增值税专用发票;2:普通发票;
    /// </summary>
    public string InvoiceTyp{get;set;}
    /// <summary>
    /// 名称:结算方 Key:FSettleId 数据库字段名:FSETTLEID 数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Supplier SettleId {get;set;}
    public int SettleId_Id {get;set;}
    /// <summary>
    /// 名称:收款方 Key:FChargeId 数据库字段名:FCHARGEID 数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Supplier ChargeId {get;set;}
    public int ChargeId_Id {get;set;}
    /// <summary>
    /// 名称:默认税率 Key:FTaxRateId 数据库字段名:FTAXRATEID 数据库表名:t_BD_SupplierFinanc枚举信息:
    /// </summary>
    public K3CloudSimpleBD_TaxRate TaxRateId {get;set;}
    public int TaxRateId_Id {get;set;}  

}


/// <summary>
/// Name:银行信息 Key:FBankInfEntryName:SupplierBank TableName:t_BD_SupplierBank EntityType:EntryEntity
/// </summary>
public class BD_SupplierSupplierBank:K3CloudIDBase<long>
{

    /// <summary>
    /// 名称:国家 Key:FBankCountr数据库字段名:FCOUNTR数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT Countr{get;set;}
    public string Country_Id {get;set;}
    /// <summary>
    /// 名称:银行账号 Key:FBankCod数据库字段名:FBANKCOD数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public string BankCod{get;set;}
    /// <summary>
    /// 名称:账户名称 Key:FBankHolde数据库字段名:FBANKHOLDE数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public string BankHolde{get;set;}
    /// <summary>
    /// 名称:默认 Key:FBankIsDefault 数据库字段名:FISDEFAULT 数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public bool IsDefault {get;set;}
    /// <summary>
    /// 名称:描述 Key:FBankDesc 数据库字段名:FDESCRIPTION 数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public string Description {get;set;}
    /// <summary>
    /// 名称:币别 Key:FBankCurrencyId 数据库字段名:FCURRENCYID 数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Currency CurrencyId {get;set;}
    public int CurrencyId_Id {get;set;}
    /// <summary>
    /// 名称:开户银行 Key:FOpenBankNam数据库字段名:FOPENBANKNAM数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>  
    [JsonConverter(typeof(LocaleValueConverter))]
    public string OpenBankNam{get;set;}
    /// <summary>
    /// 名称:收款银行 Key:FBankTypeRec 数据库字段名:FBANKTYPEREC 数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public K3CloudSimpleWB_BankType BankTypeRec {get;set;}
    public int BankTypeRec_Id {get;set;}
    /// <summary>
    /// 名称:开户行地址 Key:FOpenAddressRec 数据库字段名:FOPENADDRESSREC 数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public string OpenAddressRec {get;set;}
    /// <summary>
    /// 名称:联行号 Key:FCNAPS 数据库字段名:FCNAPS 数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public string CNAPS {get;set;}
    /// <summary>
    /// 名称:SwiftCodKey:FSwiftCod数据库字段名:FSWIFTCOD数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public string SwiftCod{get;set;}
    /// <summary>
    /// 名称:网点名称 Key:FTextBankDetail 数据库字段名:FTEXTBANKDETAIL 数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public string FTextBankDetail {get;set;}
    /// <summary>
    /// 名称:银行网点 Key:FBankDetail 数据库字段名:FBANKDETAIL 数据库表名:t_BD_SupplierBank 枚举信息:
    /// </summary>
    public K3CloudSimpleWB_BankDetail BankDetail {get;set;}
    public int BankDetail_Id {get;set;}  

}


/// <summary>
/// Name:组织信息 Key:FLocationInfEntryName:SupplierLocation TableName:t_BD_SupplierLocation EntityType:EntryEntity
/// </summary>
public class BD_SupplierSupplierLocation:K3CloudIDBase<long>
{

    /// <summary>
    /// 名称:运输时间 Key:FTransportDays 数据库字段名:FTRANSPORTDAYS 数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public int TransportDays {get;set;}
    /// <summary>
    /// 名称:计划交货周期 Key:FPlanDeliveryPeriod 数据库字段名:FPLANDELIVERYPERIOD 数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public int PlanDeliveryPeriod {get;set;}
    /// <summary>
    /// 名称:备注 Key:FLocDesc 数据库字段名:FDESCRIPTION 数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public string Description {get;set;}
    /// <summary>
    /// 名称:地点编码 Key:FLocNumbe数据库字段名:FNUMBE数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public string Numbe{get;set;}
    /// <summary>
    /// 名称:地点名称 Key:FLocNam数据库字段名:FNAM数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public string Nam{get;set;}
    /// <summary>
    /// 名称:通讯地址 Key:FLocAddress 数据库字段名:FADDRESS 数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public string Address {get;set;}
    /// <summary>
    /// 名称:启用 Key:FLocIsUsed 数据库字段名:FISUSED 数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public bool IsUsed {get;set;}
    /// <summary>
    /// 名称:电话 Key:FLocTel 数据库字段名:FTEL 数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public string Tel {get;set;}
    /// <summary>
    /// 名称:手机 Key:FLocMobil数据库字段名:FMOBIL数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public string Mobil{get;set;}
    /// <summary>
    /// 名称:传真 Key:FLocFax 数据库字段名:FFAX 数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public string Fax {get;set;}
    /// <summary>
    /// 名称:电子邮箱 Key:FLocEMail 数据库字段名:FEMAIL 数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public string EMail {get;set;}
    /// <summary>
    /// 名称:默认供货地址 Key:FIsDefaultSuppl数据库字段名:FISDEFAULTSUPPL数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public bool IsDefaultSuppl{get;set;}
    /// <summary>
    /// 名称:默认开票地址 Key:FIsDefaultSettl数据库字段名:FISDEFAULTSETTL数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public bool IsDefaultSettl{get;set;}
    /// <summary>
    /// 名称:默认收款地址 Key:FIsDefaultPaye数据库字段名:FISDEFAULTPAYE数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public bool IsDefaultPaye{get;set;}
    /// <summary>
    /// 名称:联系人（旧） Key:FLocContact 数据库字段名:FCONTACTID 数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_SupplierContact ContactId {get;set;}
    public int ContactId_Id {get;set;}
    /// <summary>
    /// 名称:联系人 Key:FLocNewContact 数据库字段名:FNEWCONTACTID 数据库表名:t_BD_SupplierLocation 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_CommonContact NEWCONTACTID {get;set;}
    public int NEWCONTACTID_Id {get;set;}  

}


/// <summary>
/// Name:联系人 Key:FSupplierContact EntryName:SupplierContact TableName:t_BD_SupplierContact EntityType:EntryEntity
/// </summary>
public class BD_SupplierSupplierContact:K3CloudIDBase<long>
{

    /// <summary>
    /// 名称:联系人 Key:FContact 数据库字段名:FCONTACT 数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public string Contact {get;set;}
    /// <summary>
    /// 名称:职务 Key:FPost 数据库字段名:FPOST 数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public string FPost {get;set;}
    /// <summary>
    /// 名称:电话 Key:FTel 数据库字段名:FTEL 数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public string Tel {get;set;}
    /// <summary>
    /// 名称:手机 Key:FMobil数据库字段名:FMOBIL数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public string Mobil{get;set;}
    /// <summary>
    /// 名称:传真 Key:FFax 数据库字段名:FFAX 数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public string Fax {get;set;}
    /// <summary>
    /// 名称:电子邮箱 Key:FEMail 数据库字段名:FEMAIL 数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public string EMail {get;set;}
    /// <summary>
    /// 名称:即时通讯 Key:FIMCod数据库字段名:FIMCOD数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public string FIMCod{get;set;}
    /// <summary>
    /// 名称:默认联系人 Key:FContactIsDefault 数据库字段名:FISDEFAULT 数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public bool IsDefault {get;set;}
    /// <summary>
    /// 名称:备注 Key:FContactDescription 数据库字段名:FDESCRIPTION 数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public string Description {get;set;}
    /// <summary>
    /// 名称:供应商联系人 Key:FCommonContactId 数据库字段名:FCOMMONCONTACTID 数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_CommonContact CommonContactId {get;set;}
    public int CommonContactId_Id {get;set;}
    /// <summary>
    /// 名称:编码 Key:FContactNumbe数据库字段名:FCONTACTNUMBE数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public string ContactNumbe{get;set;}
    /// <summary>
    /// 名称:禁用状态 Key:FConForbidStatus 数据库字段名:FFORBIDSTATUS 数据库表名:t_BD_SupplierContact 枚举信息:A:否;B:是;
    /// </summary>
    public string ConForbidStatus {get;set;}
    /// <summary>
    /// 名称:性别 Key:FGende数据库字段名:FGENDE数据库表名:t_BD_SupplierContact 枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT Gende{get;set;}
    public string Gender_Id {get;set;}  

}
 
